<?php
/**
 * TOP API: alibaba.wt.order.aliqin.create.query request
 * 
 * @author auto create
 * @since 1.0, 2016.08.11
 */
class AlibabaWtOrderAliqinCreateQueryRequest
{
	/** 
	 * 接口的biz：ShuoRuan
	 **/
	private $biz;
	
	/** 
	 * 业务类型固定传4
	 **/
	private $bizType;
	
	/** 
	 * json串可选
	 **/
	private $extParam;
	
	/** 
	 * 外部订单id
	 **/
	private $outOrderId;
	
	private $apiParas = array();
	
	public function setBiz($biz)
	{
		$this->biz = $biz;
		$this->apiParas["biz"] = $biz;
	}

	public function getBiz()
	{
		return $this->biz;
	}

	public function setBizType($bizType)
	{
		$this->bizType = $bizType;
		$this->apiParas["biz_type"] = $bizType;
	}

	public function getBizType()
	{
		return $this->bizType;
	}

	public function setExtParam($extParam)
	{
		$this->extParam = $extParam;
		$this->apiParas["ext_param"] = $extParam;
	}

	public function getExtParam()
	{
		return $this->extParam;
	}

	public function setOutOrderId($outOrderId)
	{
		$this->outOrderId = $outOrderId;
		$this->apiParas["out_order_id"] = $outOrderId;
	}

	public function getOutOrderId()
	{
		return $this->outOrderId;
	}

	public function getApiMethodName()
	{
		return "alibaba.wt.order.aliqin.create.query";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
		RequestCheckUtil::checkNotNull($this->biz,"biz");
		RequestCheckUtil::checkNotNull($this->bizType,"bizType");
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}
}
